package com.daur.uva.input;

public class InputMatrix {

	private int numberOfBoxes;

	private int numberOfDimensions;

	private Integer[][] boxesWithSizes;

	public InputMatrix(Integer numberOfBoxes, Integer numberOfDimensions) {
		this.numberOfBoxes = numberOfBoxes;
		this.numberOfDimensions = numberOfDimensions;
		this.boxesWithSizes = new Integer[numberOfBoxes][];
	}

	public int getNumberOfBoxes() {
		return numberOfBoxes;
	}

	public void setNumberOfBoxes(int numberOfBoxes) {
		this.numberOfBoxes = numberOfBoxes;
	}

	public int getNumberOfDimensions() {
		return numberOfDimensions;
	}

	public void setNumberOfDimensions(int numberOfDimensions) {
		this.numberOfDimensions = numberOfDimensions;
	}

	public void addNewBox(int boxNumber, Integer[] sizes) {
		this.boxesWithSizes[boxNumber] = sizes;
	}

	public Integer[] getBoxSizes(int boxNumber) {
		return this.boxesWithSizes[boxNumber];
	}

	public Integer[][] getBoxesWithSizes() {
		return this.boxesWithSizes;
	}

}
